package de.baumann.browser.api.net.vo;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class LoginInfo implements Serializable {
    private static final long serialVersionUID = 42L;


    public int getInviteId() {
        return inviteId;
    }

    public void setInviteId(int inviteId) {
        this.inviteId = inviteId;
    }

    private int inviteId;
    private Integer user_id;

    public String getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(String fromAddress) {
        this.fromAddress = fromAddress;
    }

    private String fromAddress;
    @SerializedName(value = "login_name", alternate = {"loginName"})
    private String loginName;

    @SerializedName(value = "user_name", alternate = {"userName"})
    private String userName;

    private String token;

    private String status;

    private String share_content;

    private String invite_url;
    @SerializedName(value = "service_qq")
    private String service_qq;

    private String eth_address;

    private String phone;

    private String password;

    @SerializedName(value = "lisenceStatus", alternate = {"trialState"})
    private int lisenceStatus;

    @SerializedName("lisence")
    private String licence;
    @SerializedName("fromName")
    private String poolname;

    private String avatar = "";

    private String qq;

    private int count;

    private String contribute;

    private int phoneStatus;

    private int userId;
    private int stolenId;

    private String inviteCode;

    private String nodeName;


    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUser_name() {
        return userName;
    }

    public void setUser_name(String user_name) {
        this.userName = user_name;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getShare_content() {
        return share_content;
    }

    public void setShare_content(String share_content) {
        this.share_content = share_content;
    }

    public String getInvite_url() {
        return invite_url;
    }

    public void setInvite_url(String invite_url) {
        this.invite_url = invite_url;
    }

    public String getService_qq() {
        return service_qq;
    }

    public void setService_qq(String service_qq) {
        this.service_qq = service_qq;
    }

    public String getEth_address() {
        return eth_address;
    }

    public void setEth_address(String eth_address) {
        this.eth_address = eth_address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getLisenceStatus() {
        return lisenceStatus;
    }

    public void setLisenceStatus(int lisenceStatus) {
        this.lisenceStatus = lisenceStatus;
    }

    public String getLicence() {
        return licence;
    }

    public void setLicence(String licence) {
        this.licence = licence;
    }

    public String getPoolname() {
        return poolname;
    }

    public void setPoolname(String poolname) {
        this.poolname = poolname;
    }


    public String getHeadUrl() {
        return avatar;
    }

    public void setHeadUrl(String headUrl) {
        this.avatar = headUrl;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getContribute() {
        return contribute;
    }

    public void setContribute(String contribute) {
        this.contribute = contribute;
    }

    public int getPhoneStatus() {
        return phoneStatus;
    }

    public void setPhoneStatus(int phoneStatus) {
        this.phoneStatus = phoneStatus;
    }

    public int getStolenId() {
        return stolenId;
    }

    public void setStolenId(int stolenId) {
        this.stolenId = stolenId;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    @Override
    public String toString() {
        return "LoginInfo{" +
                "user_id=" + user_id +
                ", loginName='" + loginName + '\'' +
                ", user_name='" + userName + '\'' +
                ", token='" + token + '\'' +
                ", status='" + status + '\'' +
                ", share_content='" + share_content + '\'' +
                ", invite_url='" + invite_url + '\'' +
                ", service_qq='" + service_qq + '\'' +
                ", eth_address='" + eth_address + '\'' +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", lisenceStatus=" + lisenceStatus +
                '}';
    }
}
